package com.example.annotations;


import java.lang.annotation.*;

/**
 * file convert annotation
 *
 * @author shadow
 * @date 2021/04/25
 */
@Target({ElementType.FIELD,ElementType.TYPE})
@Retention(RetentionPolicy.SOURCE)
@Documented
public @interface ConvertTargetField {
    /**
     * convert field name
     * @return
     */
     String name() default "";

    /**
     * convert field type
     * @return
     */
     Class<?> type() default Object.class;

}
